$pxSize:1px !default;
$rpxSize:1rpx !default;
.wy{
    &-form {
        background-color: $wy-bg-form; 
        &-easy{ 
            &-postion-fixed{
                position: fixed !important;
                bottom: 0;
                left: 0;  
                z-index: 98;
            }
        }
        &-picker-view{
            z-index: 9999;
            height: 600rpx;
            margin-top: 5rpx;
            &-item{ 
                text-align: center;
                &-text{
                    line-height:65rpx; 
                }
            }
        }
        &-switch{
            &-checked{
                
            }
        }
        &-btn {
           position: relative;
           border: 0*$rpxSize;
           display: flex;
           align-items: center;
           justify-content: center;
           /* #ifndef APP-NVUE */
            box-sizing: border-box;
			line-height: 1;
           /* #endif */
           padding-left: 30*$rpxSize;
		   padding-right: 30*$rpxSize; 
           font-size: 28*$rpxSize;
           height: 64*$rpxSize; 
           text-align: center;
           text-decoration: none;
           transform: translate(0*$rpxSize, 0*$rpxSize); 
       }
        &-bar {
       	display: flex;
       	position: relative;
       	align-items: center; 
       	justify-content: space-between;
        }
        &-item {
            margin-top: 5*$rpxSize;
            margin-bottom: 5*$rpxSize;
            margin-left: 1*$rpxSize;
            margin-right: 1*$rpxSize; 
           // background-color: $wy-bg-color-page;
        }
        &-group {
           padding-top: 1*$rpxSize;
           padding-bottom: 1*$rpxSize;
           padding-left: 10*$rpxSize;
           padding-right: 10*$rpxSize;
           display: flex;
           align-items: center; 
           justify-content: space-between; 
           .wy-form-item{
               background-color: $wy-bg-form-item !important;
           }
		   &-content {
			   /* #ifndef APP-NVUE */
			   width: 100%;
			   /* #endif */
			   /* #ifdef APP-NVUE */
			  flex: 1;
			   /* #endif */
		   } 
           &-min-height { 
               /* #ifndef APP-NVUE */
               min-height:100*$rpxSize;
               /* #endif */
           }
           .required{
               color: $wy-color-error !important;
           }
           .validate{
               border-color: $wy-color-warning !important;
               border: 1*$rpxSize solid ;
           }
           $i:30;
           @while $i > 0 {
               &-width-#{$i}{
                  width: (750-$i*50)*$rpxSize; 
               }
               .title-len-#{$i}{
                 width: 30*($i+1)*$rpxSize; 
                 left: 0;
              }
              $i: $i - 1;
           }
           &-title{
               font-size: 28*$rpxSize;
               line-height: 50*$rpxSize;
               color: $wy-text-color;
               padding-right: 28*$rpxSize;
			   font-weight: bold;
           }
		   &-placeholder{ 
				color: gray;
				overflow: hidden;
				text-overflow: clip;
				/* #ifndef APP-NVUE */
				white-space: pre;
				word-break: keep-all;
				pointer-events: none;
				line-height: inherit;
				/* #endif */
				
		   }
           &-input{   
               padding-left: 10*$rpxSize;
               border-width: 0*$rpxSize; 
               background-color: $wy-bg-form-input; 
               font-size: 28*$rpxSize;
			   /* #ifdef APP-NVUE */
			  // height: 50*$rpxSize;
			   /* #endif */
			   /* #ifndef APP-NVUE */
			   min-height: 50*$rpxSize;
			   /* #endif */
               &-bg{
				background-color: $wy-bg-form-input;    
			   }
           }
		   &-textarea{ 
		       padding-left: 5*$rpxSize;
		       border-width: 0*$rpxSize; 
		       background-color: $wy-bg-form-input; 
		       font-size: 28*$rpxSize;
			   line-height: 1.2em;
			   height: 180*$rpxSize;
			   //margin: 32*$rpxSize 0 30*$rpxSize;
               /* #ifndef APP-NVUE */
                width:100%;
               /* #endif */
		   } 
           &-checkbox{
               /* #ifndef APP-NVUE */
               .uni-checkbox-input svg{
                   color:$wy-bg-form-item;
               }
               /* #endif */
               &-input {
                   /* #ifdef APP-NVUE */
                   color: $wy-color-primary !important;
                   /* #endif */
               }
               
               
           }
           &-disabled{ 
               color: $wy-color-form-disabled !important;
           }
		   /* #ifndef APP-NVUE */ 
		    switch.wy-primary[checked] .wx-switch-input,
		    checkbox.wy-primary[checked] .wx-checkbox-input,
		    radio.wy-primary[checked] .wx-radio-input,
		    switch.wy-primary.checked .uni-switch-input,
		    checkbox.wy-primary.checked .uni-checkbox-input,
		    radio.wy-primary.checked .uni-radio-input {
		    	background-color: $wy-color-primary !important;
		    	border-color:$wy-color-primary !important;
		    	color: $wy-bg-form-item !important;
		    }
		    checkbox.wy-primary.somechecked .uni-checkbox-input{
		   //	background-color: $wy-color-primary !important;
		    	border-color:$wy-color-primary !important;
		    	color: $wy-bg-form-item !important;
		    }
		   uni-switch .wx-switch-input:not([class*="wy-"]), uni-switch .uni-switch-input:not([class*="wy-"]) {
		       background: $wy-text-color-second !important;
		   }
		             
		   /* #endif */ 
       } 
    }
    
}
.uni-picker-container .uni-picker-action.uni-picker-action-confirm{
   color:$wy-color-primary !important;
}
 
